﻿using Abp.Application.Services;
using Abp.Domain.Repositories;
using AbpVueDemo.Demo.ClassDataManager.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AbpVueDemo.Demo.ClassDataManager
{
    public class ClassDataService: AsyncCrudAppService<ClassData, ClassDataInputDto, int, PageClassDataRequestDto, ClassDataCreateDto, ClassDataUpdateDto>,IClassDataService
    {
        public ClassDataService(
      IRepository<ClassData, int> repository) : base(repository)
        {

        }
        //protected override IQueryable<ClassData> CreateFilteredQuery(PageClassDataRequestDto input)
        //{
        //    return base.CreateFilteredQuery(input)
        //        .WhereIf(!string.IsNullOrEmpty(input.c_name), c => c.c_name.Contains(input.c_name))
        //        .WhereIf(!string.IsNullOrEmpty(input.c_description), c => c.c_description.Contains(input.c_description));
        //}
    }
}
